package com.yunduo.common.RetunData.statuscode.impl;

import com.yunduo.common.RetunData.statuscode.ResultStatus;
import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum UserCode implements ResultStatus {

    USER_LOGING_PASSWORD_ERROR(401,"密码错误"),
    USER_ACCOUNT_ISNOT(402,"用户不存在/密码错误"),
    USER_LOGIN_TIMEOUT(403,"用户登录超时"),
    USER_NAME_REPEAT(405,"用户名重复"),
    USER_LOGIN_SUCCESS(200,"登录成功"),
    USER_LOGIN_OUT(200,"注销登录"),
    USER_COOKIE(202,"yunduoCookie"),
    USER_IS_DELETE(502,"账户已禁用"),
    USER_IS_NOT_LOGIN(503,"用户未登录");
    private Integer code;

    private String info;
}
